home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
vol_200
/
271_02
/
wkdaynm.doc
< prev
Wrap
Text File
|
1987-08-18
|
750b
|
41 lines
NAME
wkdayname -- return a pointer to name of day string
SYNOPSIS
char *wkdayname(day);
int day; day number 0-6
DESCRIPTION
This function returns a character pointer to a text string
naming the day of the week indicated by the day parameter.
Day 0 is Sunday, and day 6 is Saturday. Strings are null terminated
and may be used directly or copied to another string.
EXAMPLE
printf("Today is %s", wkdayname(3));
/* output is :
Today is Wednesday
*/
This function is found in SMTCx.LIB for the Turbo-C Compiler.